public class VisioRenderingOptions extends Object
The VisioRenderingOptions class provides options for processing and rendering Visio files in the GroupDocs.Viewer component. It encapsulates settings and parameters that can be used to control the rendering process and output format for Visio documents. For details, see the documentation.
Example usage:
PngViewOptions pngViewOptions = new PngViewOptions();
VisioRenderingOptions visioRenderingOptions = pngViewOptions.getVisioRenderingOptions();
visioRenderingOptions.setRenderFiguresOnly(true);
try (Viewer viewer = new Viewer(visioDocument)) {
viewer.view(pngViewOptions);
// Use the viewer object for further operations
}
Viewer,
PngViewOptions| Constructor and Description |
|---|
VisioRenderingOptions()
Initializes a new instance of the
VisioRenderingOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getFigureWidth()
Retrieves the width of the figure.
|
boolean |
isRenderFiguresOnly()
Render only Visio figures, excluding the diagram.
|
void |
setFigureWidth(int figureWidth)
Sets the width of the figure.
|
void |
setRenderFiguresOnly(boolean renderFiguresOnly)
Sets the flag to render only Visio figures, excluding the diagram.
|
public VisioRenderingOptions()
Initializes a new instance of the VisioRenderingOptions class.
public int getFigureWidth()
Retrieves the width of the figure. The height will be calculated automatically.
public boolean isRenderFiguresOnly()
Render only Visio figures, excluding the diagram.
For details, see the documentation.true if only Visio figures should be rendered, false otherwise.public void setFigureWidth(int figureWidth)
Sets the width of the figure. The height will be calculated automatically.
Note: Default value is 100.
figureWidth - The width of the figure.public void setRenderFiguresOnly(boolean renderFiguresOnly)
Sets the flag to render only Visio figures, excluding the diagram.
For details, see the documentation.renderFiguresOnly - true to render only Visio figures, false to include the diagram.Copyright © 2025. All rights reserved.