# ViewCaptureSettings class

Namespace: [Rhino.Display](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.display.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class ViewCaptureSettings : IDisposable
```

Holds information required to generate high resolution output of a RhinoViewport. This is used for generating paper prints or image files

## Constructors

- [ViewCaptureSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/ctor.md): (4 overloads) Construct default view capture settings

## Finalizer

- [~ViewCaptureSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [ApplyDisplayModeThicknessScales](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/applydisplaymodethicknessscales.md): Should curves and edges have their thicknesses scaled based the on the display mode settings for a view being captured (default is false)
- [ArrowheadSizeMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/arrowheadsizemillimeters.md): Arrowhead size in millimeters.
- [CropRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/croprectangle.md): Actual area of output rectangle that view capture is sent to.
- [DefaultPrintWidthMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/defaultprintwidthmillimeters.md): Line thickness, in millimeters, used to print objects with no defined thickness.
- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/document.md)
- [DrawAxis](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawaxis.md)
- [DrawBackground](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawbackground.md)
- [DrawBackgroundBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawbackgroundbitmap.md)
- [DrawClippingPlanes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawclippingplanes.md)
- [DrawGrid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawgrid.md)
- [DrawLights](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawlights.md)
- [DrawLockedObjects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawlockedobjects.md)
- [DrawMargins](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawmargins.md)
- [DrawRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawrectangle.md): Rectangle where drawing is confined to on MediaSize
- [DrawSelectedObjectsOnly](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawselectedobjectsonly.md)
- [DrawWallpaper](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/drawwallpaper.md)
- [FooterText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/footertext.md): Text drawn at the bottom of the output
- [HeaderText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/headertext.md): Text drawn at the top of the output
- [HorizontalScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/horizontalscale.md): Horizontal stretch to be applied to output. Useful for calibrating printers
- [IsScaleToFit](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/isscaletofit.md): Returns true if the model has been scaled to fit.
- [IsValid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/isvalid.md)
- [LinetypeWidthUnitsArePageLengths](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/linetypewidthunitsarepagelengths.md)
- [MatchLinetypePatternDefinition](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/matchlinetypepatterndefinition.md): Default is true. Linetype scales are normally generated right before printing/view capture in order to get linetypes to print to the same lengths as defined. If false, the linetypes are not scaled and the current pattern lengths as seen on the screen as used.
- [MediaSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/mediasize.md): Total size of the image or page in dots
- [ModelScaleType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/modelscaletype.md)
- [OffsetAnchor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/offsetanchor.md)
- [OutputColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/outputcolor.md)
- [PointSizeMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/pointsizemillimeters.md): Size of point objects in millimeters. if scale <= 0 the size is minimized so points are always drawn as small as possible
- [RasterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/rastermode.md)
- [Resolution](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/resolution.md): Capture "density" in dots per inch.
- [TextDotPointSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/textdotpointsize.md): Font point size use for printing text dots. The default value is 10.0. This has morphed into a scale setting as individual text dots have their own sizes. A value of 20 will print dots at double of their size setting while a value of 10 will print with no scaling applied.
- [UsePrintWidths](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/useprintwidths.md)
- [VerticalScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/verticalscale.md): Vertical stretch to be applied to output. Useful for calibrating printers
- [ViewArea](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/viewarea.md): How the RhinoViewport is mapped to the output rectangle
- [WireThicknessScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/wirethicknessscale.md): Scaling factor to apply to object print widths (typically 1.0). This is helpful when printing something at 1/2 scale and having all of the curves print 1/2 as thick.

## Methods

- [CreatePreviewSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/createpreviewsettings.md): Create a ViewCaptureSettings based on this instance, but scaled to fit in a different sized area. Scaling is also performed on dpi. This is primarily used to for capturing images that are shown as print previews
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/dispose.md): Actively reclaims unmanaged resources that this instance uses.
- [Equals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/equals.md): Check if the contents of this object is the same as another object
- [GetMargins](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/getmargins.md): Get distances from the edge of the paper (MediaSize) to the CropRectangle in a defined unit system
- [GetModelScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/getmodelscale.md): Returns the model scale factor.
- [GetOffset](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/getoffset.md)
- [GetViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/getviewport.md): Get RhinoViewport that this view capture settings is targeting
- [Load](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/load.md)
- [MatchViewportAspectRatio](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/matchviewportaspectratio.md): Adjust crop rectangle to match the aspect ratio of the original viewport that these settings reference
- [MaximizePrintableArea](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/maximizeprintablearea.md): Minimize cropping so the full drawable area is used
- [Save](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/save.md)
- [SetLayout](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setlayout.md)
- [SetMarginBottom](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmarginbottom.md): Set the distance from the bottom edge of the paper to the CropRectangle
- [SetMarginLeft](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmarginleft.md): Set the distance from the left edge of the paper to the CropRectangle
- [SetMarginRight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmarginright.md): Set the distance from the right edge of the paper to the CropRectangle
- [SetMargins](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmargins.md): Set distances from the edge of the paper (MediaSize) to the CropRectange in a defined unit system
- [SetMarginTop](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmargintop.md): Set the distance from the top edge of the paper to the CropRectangle
- [SetModelScaleToFit](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmodelscaletofit.md): Scales the model to fit.
- [SetModelScaleToValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setmodelscaletovalue.md): Sets the model scale to a value.
- [SetOffset](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setoffset.md)
- [SetViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setviewport.md)
- [SetWindowRect](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.viewcapturesettings/setwindowrect.md): (2 overloads) Set the print area to a window selection based on two points in screen coordinates
