com.mindfusion.diagramming
Class PrintOptions

java.lang.Object
  extended by com.mindfusion.diagramming.RenderOptions
      extended by com.mindfusion.diagramming.PrintOptions

public final class PrintOptions
extends RenderOptions

Defines the attributes of a printed diagram. Use the PrintOptions object returned by the DiagramView.getPrintOptions() method to set the attributes of a specific diagram.


Constructor Summary
PrintOptions(DiagramView diagramView)
          Initializes a new PrintOptions instance.
 
Method Summary
 java.lang.String getDocumentName()
          Gets the document name.
 boolean getEnableFitToPage()
           
 java.lang.String getHeaderFormat()
          Gets the page header format string.
 void setDocumentName(java.lang.String value)
          Sets the document name.
 void setEnableFitToPage(boolean value)
           
 void setHeaderFormat(java.lang.String value)
          Sets the page header format string.
 
Methods inherited from class com.mindfusion.diagramming.RenderOptions
getAntiAlias, getEnableAnchors, getEnableBackground, getEnableBackgroundImage, getEnableImages, getEnableInterior, getEnableShadows, getEnableText, getHyperLinkStyle, getHyperLinkTarget, getRenderTarget, getScale, getTargetView, getTextAntiAlias, getVisibleRect, setAntiAlias, setEnableAnchors, setEnableBackground, setEnableBackgroundImage, setEnableImages, setEnableInterior, setEnableShadows, setEnableText, setHyperLinkStyle, setHyperLinkTarget, setRenderTarget, setScale, setTargetView, setTextAntiAlias, setVisibleRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintOptions

public PrintOptions(DiagramView diagramView)
Initializes a new PrintOptions instance.

Method Detail

getDocumentName

public java.lang.String getDocumentName()
Gets the document name.

Overrides:
getDocumentName in class RenderOptions
Returns:
A String containing the document name.

setDocumentName

public void setDocumentName(java.lang.String value)
Sets the document name.

Overrides:
setDocumentName in class RenderOptions
Parameters:
value - A String containing the document name.

getHeaderFormat

public java.lang.String getHeaderFormat()
Gets the page header format string.

Overrides:
getHeaderFormat in class RenderOptions
Returns:
A String containing formatting attributes for the page headers.

setHeaderFormat

public void setHeaderFormat(java.lang.String value)
Sets the page header format string.

Overrides:
setHeaderFormat in class RenderOptions
Parameters:
value - A String containing formatting attributes for the page headers.

setEnableFitToPage

public void setEnableFitToPage(boolean value)
Overrides:
setEnableFitToPage in class RenderOptions

getEnableFitToPage

public boolean getEnableFitToPage()
Overrides:
getEnableFitToPage in class RenderOptions