Skip to main content
All docs
V25.2
  • DocumentFormat Members

    A document format.

    Constructors

    Name Description
    DocumentFormat(Int32) Initializes a new instance of the DocumentFormat class with specified settings.

    Fields

    Name Description
    Potm static The POTM (PowerPoint Macro-Enabled Template) document format.
    Potx static The POTX (PowerPoint Template) document format.
    Pptm static The PPTM (PowerPoint Macro-Enabled Presentation) document format.
    Pptx static The PPTX (PowerPoint Presentation) document format.
    Undefined static The document format is undefined.

    Methods

    Name Description
    Equals(DocumentFormat) Determines whether the specified object is equal to the current DocumentFormat object.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current DocumentFormat object.
    GetHashCode() Returns a number that identifies the object instance.
    GetType() Gets the Type of the current instance. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the DocumentFormat object.

    Operators

    Name Description
    Equality(DocumentFormat, DocumentFormat) static Compares two DocumentFormat structures for equality.
    Inequality(DocumentFormat, DocumentFormat) static Compares two DocumentFormat structures to determine whether they are not equal.
    See Also