public class DiagramOptions extends Object
Provides options for rendering Diagram documents.
Modifier and Type | Class and Description |
---|---|
static class |
DiagramOptions.DiagramOptionsFlags |
Modifier and Type | Field and Description |
---|---|
static boolean |
SHOW_HIDDEN_PAGES_DEFAULT
Constant
SHOW_HIDDEN_PAGES_DEFAULT=false |
Constructor and Description |
---|
DiagramOptions()
Initializes a new instance of the
DiagramOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getFlags()
getFlags.
|
boolean |
getShowHiddenPages()
Indicates whether hidden pages should be rendered.
|
boolean |
hasNonDefaultFlags()
hasNonDefaultFlags.
|
void |
setShowHiddenPages(boolean value)
Indicates whether hidden pages should be rendered.
|
public static final boolean SHOW_HIDDEN_PAGES_DEFAULT
SHOW_HIDDEN_PAGES_DEFAULT=false
public DiagramOptions()
Initializes a new instance of the DiagramOptions
class.
public boolean getShowHiddenPages()
Indicates whether hidden pages should be rendered. The default value is false.
The following example demonstrates how to enable rendering hidden pages from Microsoft Visio documents.public void setShowHiddenPages(boolean value)
Indicates whether hidden pages should be rendered. The default value is false.
The following example demonstrates how to enable rendering hidden pages from Microsoft Visio documents.value
- a boolean.public boolean hasNonDefaultFlags()
hasNonDefaultFlags.
public int getFlags()
getFlags.
Copyright © 2018. All rights reserved.