Class PlotSettings
Represents the plot settings of a layout.
Inheritance
Implements
Inherited Members
Namespace: netDxf.Objects
Assembly: CADability.dll
Syntax
public class PlotSettings : ICloneable
Constructors
| Improve this Doc View SourcePlotSettings()
Initializes a new instance of PlotSettings.
Declaration
public PlotSettings()
Properties
| Improve this Doc View SourceCurrentStyleSheet
Gets or sets the current style sheet name.
Declaration
public string CurrentStyleSheet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Flags
Gets or sets the plot layout flags.
Declaration
public PlotFlags Flags { get; set; }
Property Value
| Type | Description |
|---|---|
| PlotFlags |
Origin
Gets or sets the plot origin in millimeters.
Declaration
public Vector2 Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
PageSetupName
Gets or sets the page setup name.
Declaration
public string PageSetupName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PaperImageOrigin
Gets or sets the paper image origin.
Declaration
public Vector2 PaperImageOrigin { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
PaperMargin
Gets or set the size, in millimeters, of unprintable margins of paper.
Declaration
public PaperMargin PaperMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| PaperMargin |
PaperRotation
Gets or sets the paper rotation.
Declaration
public PlotRotation PaperRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| PlotRotation |
PaperSize
Gets or sets the plot paper size: physical paper width and height in millimeters.
Declaration
public Vector2 PaperSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
PaperSizeName
Gets or set the paper size name.
Declaration
public string PaperSizeName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PaperUnits
Gets or sets the paper units.
Declaration
public PlotPaperUnits PaperUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| PlotPaperUnits |
Remarks
This value is only applicable to the scale parameter PrintScaleNumerator.
PlotterName
Gets or sets the name of system printer or plot configuration file.
Declaration
public string PlotterName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PlotType
Gets or sets the portion of paper space to output to the media.
Declaration
public PlotType PlotType { get; set; }
Property Value
| Type | Description |
|---|---|
| PlotType |
PrintScale
Gets the scale factor.
Declaration
public double PrintScale { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
PrintScaleDenominator
Gets or sets the denominator of custom print scale: drawing units.
Declaration
public double PrintScaleDenominator { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
PrintScaleNumerator
Gets or sets the numerator of custom print scale: real world paper units.
Declaration
public double PrintScaleNumerator { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
The paper units used are specified by the PaperUnits value.
ScaleToFit
Gets or sets if the plot scale will be automatically computed show the drawing fits the media.
Declaration
public bool ScaleToFit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
If ScaleToFit is set to false the values specified by PrintScaleNumerator and PrintScaleDenomiator will be used.
ShadePlotDPI
Gets or sets the shade plot custom DPI.
Declaration
public short ShadePlotDPI { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int16 |
ShadePlotMode
Gets or sets the shade plot mode.
Declaration
public ShadePlotMode ShadePlotMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ShadePlotMode |
ShadePlotResolutionMode
Gets or sets the plot resolution mode.
Declaration
public ShadePlotResolutionMode ShadePlotResolutionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ShadePlotResolutionMode |
Remarks
if the ShadePlotResolutionMode is set to Custom the value specified by the ShadPloDPI will be used.
ViewName
Gets or sets the plot view name.
Declaration
public string ViewName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WindowBottomLeft
Gets or sets the plot lower-left window corner.
Declaration
public Vector2 WindowBottomLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
WindowUpRight
Gets or sets the plot upper-right window corner.
Declaration
public Vector2 WindowUpRight { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
Methods
| Improve this Doc View SourceClone()
Creates a new plot settings that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new plot settings that is a copy of this instance. |