Skip to content

Commit 3f68935

Browse files
Update file(s) "/." from "groupdocs-watermark/Groupdocs.Watermark-References"
1 parent 2429815 commit 3f68935

File tree

1 file changed

+50
-0
lines changed
  • content/sites/groupdocs/watermark/english/java/com.groupdocs.watermark.options/loadoptions

1 file changed

+50
-0
lines changed

content/sites/groupdocs/watermark/english/java/com.groupdocs.watermark.options/loadoptions/_index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Represents document loading options when loading a document.
4040
| --- | --- |
4141
| [getPassword()](#getPassword--) | Gets the password for opening an encrypted document. |
4242
| [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.). |
4347
### LoadOptions() {#LoadOptions--}
4448
```
4549
public LoadOptions()
@@ -101,3 +105,49 @@ The following example demonstrates how to load a document protected with a passw
101105
| --- | --- | --- |
102106
| value | java.lang.String | The password for opening an encrypted document. |
103107
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.).
115+
116+
**Returns:**
117+
int - formatFamily The file type.
118+
### setFormatFamily(int formatFamily) {#setFormatFamily-int-}
119+
```
120+
public void setFormatFamily(int formatFamily)
121+
```
122+
123+
124+
Set the format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.).
125+
126+
**Parameters:**
127+
| Parameter | Type | Description |
128+
| --- | --- | --- |
129+
| formatFamily | int | The file type. |
130+
131+
### getFileType() {#getFileType--}
132+
```
133+
public FileType getFileType()
134+
```
135+
136+
137+
Get the type of the file, indicating its type (e.g., docx, pdf, xlsx, etc.).
138+
139+
**Returns:**
140+
[FileType](../../com.groupdocs.watermark.common/filetype) - fileType The file type.
141+
### setFileType(FileType fileType) {#setFileType-com.groupdocs.watermark.common.FileType-}
142+
```
143+
public void setFileType(FileType fileType)
144+
```
145+
146+
147+
Set the type of the file, indicating its type (e.g., docx, pdf, xlsx, etc.).
148+
149+
**Parameters:**
150+
| Parameter | Type | Description |
151+
| --- | --- | --- |
152+
| fileType | [FileType](../../com.groupdocs.watermark.common/filetype) | The file type. |
153+

0 commit comments

Comments
 (0)