Provides options for rendering project management files.
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
}
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.
Returns:
java.util.Date - the start date of the Gantt Chart View.
setStartDate(Date value)
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.
Parameters:
Parameter
Type
Description
value
java.util.Date
The start date of the Gantt Chart View.
getEndDate()
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.
Returns:
java.util.Date - the end date of the Gantt Chart View.
setEndDate(Date value)
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.
Parameters:
Parameter
Type
Description
value
java.util.Date
The end date of the Gantt Chart View.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.