You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/sites/groupdocs/watermark/english/java/com.groupdocs.watermark.options/loadoptions/_index.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,10 @@ Represents document loading options when loading a document.
40
40
| --- | --- |
41
41
|[getPassword()](#getPassword--)| Gets the password for opening an encrypted document. |
42
42
|[setPassword(String value)](#setPassword-java.lang.String-)| Sets the password for opening an encrypted document. |
43
+
|[getFormatFamily()](#getFormatFamily--)| Get the format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.). |
44
+
|[setFormatFamily(int formatFamily)](#setFormatFamily-int-)| Set the format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.). |
45
+
|[getFileType()](#getFileType--)| Get the type of the file, indicating its type (e.g., docx, pdf, xlsx, etc.). |
46
+
|[setFileType(FileType fileType)](#setFileType-com.groupdocs.watermark.common.FileType-)| Set the type of the file, indicating its type (e.g., docx, pdf, xlsx, etc.). |
43
47
### LoadOptions() {#LoadOptions--}
44
48
```
45
49
public LoadOptions()
@@ -101,3 +105,49 @@ The following example demonstrates how to load a document protected with a passw
101
105
| --- | --- | --- |
102
106
| value | java.lang.String | The password for opening an encrypted document. |
103
107
108
+
### getFormatFamily() {#getFormatFamily--}
109
+
```
110
+
public int getFormatFamily()
111
+
```
112
+
113
+
114
+
Get the format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.).
0 commit comments