Show / Hide Table of Contents

Class PlotSettings

Represents the plot settings of a layout.

Inheritance
System.Object
PlotSettings
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Objects
Assembly: CADability.dll
Syntax
public class PlotSettings : ICloneable

Constructors

| Improve this Doc View Source

PlotSettings()

Initializes a new instance of PlotSettings.

Declaration
public PlotSettings()

Properties

| Improve this Doc View Source

CurrentStyleSheet

Gets or sets the current style sheet name.

Declaration
public string CurrentStyleSheet { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Flags

Gets or sets the plot layout flags.

Declaration
public PlotFlags Flags { get; set; }
Property Value
Type Description
PlotFlags
| Improve this Doc View Source

Origin

Gets or sets the plot origin in millimeters.

Declaration
public Vector2 Origin { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

PageSetupName

Gets or sets the page setup name.

Declaration
public string PageSetupName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PaperImageOrigin

Gets or sets the paper image origin.

Declaration
public Vector2 PaperImageOrigin { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

PaperMargin

Gets or set the size, in millimeters, of unprintable margins of paper.

Declaration
public PaperMargin PaperMargin { get; set; }
Property Value
Type Description
PaperMargin
| Improve this Doc View Source

PaperRotation

Gets or sets the paper rotation.

Declaration
public PlotRotation PaperRotation { get; set; }
Property Value
Type Description
PlotRotation
| Improve this Doc View Source

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
| Improve this Doc View Source

PaperSizeName

Gets or set the paper size name.

Declaration
public string PaperSizeName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.

| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

PrintScale

Gets the scale factor.

Declaration
public double PrintScale { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

PrintScaleDenominator

Gets or sets the denominator of custom print scale: drawing units.

Declaration
public double PrintScaleDenominator { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

ShadePlotDPI

Gets or sets the shade plot custom DPI.

Declaration
public short ShadePlotDPI { get; set; }
Property Value
Type Description
System.Int16
| Improve this Doc View Source

ShadePlotMode

Gets or sets the shade plot mode.

Declaration
public ShadePlotMode ShadePlotMode { get; set; }
Property Value
Type Description
ShadePlotMode
| Improve this Doc View Source

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.

| Improve this Doc View Source

ViewName

Gets or sets the plot view name.

Declaration
public string ViewName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WindowBottomLeft

Gets or sets the plot lower-left window corner.

Declaration
public Vector2 WindowBottomLeft { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

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 Source

Clone()

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.

Implements

System.ICloneable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX