DocumentFormat Property
Defines the format of the Office document.
Syntax
public int getDocumentFormat();
Enumerated values: public final static int odfUnknown = 0; public final static int odfBinary = 1; public final static int odfOpenXML = 2; public final static int odfOpenXPS = 3; public final static int odfOpenDocument = 4;
Default Value
0
Remarks
This property contains the Office document format.
odfUnknown | 0 | Unknown document format |
odfBinary | 1 | Binary Office document |
odfOpenXML | 2 | OpenXML Office document |
odfOpenXPS | 3 | OpenXPS document |
odfOpenDocument | 4 | OpenOffice document |
This property is read-only and not available at design time.