public class ProjectManagementOptions extends Object
The ProjectManagementOptions class encapsulates various settings and parameters that can be used to control the rendering of project management files (such as Microsoft Project or similar) in the GroupDocs.Viewer component. For details, see the documentation.
Example usage:
PngViewOptions pngViewOptions = new PngViewOptions();
ProjectManagementOptions projectManagementOptions = pngViewOptions.getProjectManagementOptions();
projectManagementOptions.setPageSize(PageSize.A4);
projectManagementOptions.setStartDate(new Date(2021, 11, 23));
try (Viewer viewer = new Viewer("document.docx")) {
viewer.view(pngViewOptions);
// Use the viewer object for further operations
}
Viewer,
PngViewOptions,
PageSize| Constructor and Description |
|---|
ProjectManagementOptions()
Initializes a new instance of the
ProjectManagementOptions class. |
| Modifier and Type | Method and Description |
|---|---|
Date |
getEndDate()
Retrieves the end date of the Gantt Chart View to be included in the output.
|
PageSize |
getPageSize()
Retrieves the output page size.
|
Date |
getStartDate()
Retrieves the start date of the Gantt Chart View to be included in the output.
|
TimeUnit |
getTimeUnit()
Retrieves the time unit.
|
void |
setEndDate(Date value)
Sets the end date of the Gantt Chart View to be included in the output.
|
void |
setPageSize(PageSize value)
Sets the output page size.
|
void |
setStartDate(Date value)
Sets the start date of the Gantt Chart View to be included in the output.
|
void |
setTimeUnit(TimeUnit value)
Retrieves the time unit.
|
public ProjectManagementOptions()
Initializes a new instance of the ProjectManagementOptions class.
public final Date getEndDate()
Retrieves the end date of the Gantt Chart View to be included in the output.
Note: Use this option when you need to render a specific time interval of the project within the Gantt Chart View. For code sample, see the documentation.
public final PageSize getPageSize()
Retrieves the output page size.
For code sample, see the documentation.
public final Date getStartDate()
Retrieves the start date of the Gantt Chart View to be included in the output.
Note: Use this option when you need to render a specific time interval of the project within the Gantt Chart View. For code sample, see the documentation.
public final TimeUnit getTimeUnit()
Retrieves the time unit.
For code sample, see the documentation.
public final void setEndDate(Date value)
Sets the end date of the Gantt Chart View to be included in the output.
Note: Use this option when you need to render a specific time interval of the project within the Gantt Chart View. For code sample, see the documentation.
value - The end date of the Gantt Chart View.public final void setPageSize(PageSize value)
Sets the output page size.
For code sample, see the documentation.
value - The output page size.public final void setStartDate(Date value)
Sets the start date of the Gantt Chart View to be included in the output.
Note: Use this option when you need to render a specific time interval of the project within the Gantt Chart View. For code sample, see the documentation.
value - The start date of the Gantt Chart View.public final void setTimeUnit(TimeUnit value)
Retrieves the time unit.
For code sample, see the documentation.
value - The time unit.Copyright © 2025. All rights reserved.